package com.fire.control.system.support.protocol.duty;

import java.util.Date;
import java.util.List;

import com.fire.control.system.dto.DutyRequestDTO;
import com.fire.control.system.dto.UserDTO;
import com.fire.control.system.entity.Duty;
import com.fire.control.system.entity.DutyLeave;
import com.fire.control.system.entity.DutyResign;
import com.fire.control.system.statics.Status_Duty;
import com.fire.control.system.support.protocol.app.AppRequestProtocol;

/**
 * @author liuxincheng
 * @ClassName: DutyRequestProtocol
 * @Description: TODO(值班请求协议)
 * @date 2017年6月1日 下午3:16:50
 */
public class DutyRequestProtocol extends AppRequestProtocol {

	private static final long serialVersionUID = 1L;
	//值班实体
	private Duty duty;
	//补签实体
	private DutyResign dutyResign;
	//请假实体
	private DutyLeave dutyLeave;
	
	//签到状态
	private Status_Duty dutyStatu;
	
	//用户DTO
	//private UserDTO userDTO;
	
	private DutyRequestDTO requestDTO;
	 

	//传入的值班时间数组
	private String[] dutyDates;
	
	//用户名
	private String userName;
	
	//补签到时间
	private List<Date> resignDates;
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}
	
	public Duty getDuty() {
		return duty;
	}
	public void setDuty(Duty duty) {
		this.duty = duty;
	}
	public DutyResign getDutyResign() {
		return dutyResign;
	}
	public void setDutyResign(DutyResign dutyResign) {
		this.dutyResign = dutyResign;
	}
	public DutyLeave getDutyLeave() {
		return dutyLeave;
	}
	public void setDutyLeave(DutyLeave dutyLeave) {
		this.dutyLeave = dutyLeave;
	}

	public Status_Duty getDutyStatu() {
		return dutyStatu;
	}

	public void setDutyStatu(Status_Duty dutyStatu) {
		this.dutyStatu = dutyStatu;
	}

	public DutyRequestDTO getRequestDTO() {
		return requestDTO;
	}

	public void setRequestDTO(DutyRequestDTO requestDTO) {
		this.requestDTO = requestDTO;
	}

/*	public UserDTO getUserDTO() {
		return userDTO;
	}

	public void setUserDTO(UserDTO userDTO) {
		this.userDTO = userDTO;
	}
*/
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String[] getDutyDates() {
		return dutyDates;
	}

	public void setDutyDates(String[] dutyDates) {
		this.dutyDates = dutyDates;
	}

	public List<Date> getResignDates() {
		return resignDates;
	}

	public void setResignDates(List<Date> resignDates) {
		this.resignDates = resignDates;
	}


}
